.class final Lcom/melesta/engine/FacebookOperations$7;
.super Ljava/lang/Object;
.source "FacebookOperations.java"

# interfaces
.implements Lcom/facebook/Request$Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/melesta/engine/FacebookOperations;->facebookSetUserScore(Ljava/lang/String;III)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic val$me:Lcom/melesta/engine/EngineActivity;


# direct methods
.method constructor <init>(Lcom/melesta/engine/EngineActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 512
    iput-object p1, p0, Lcom/melesta/engine/FacebookOperations$7;->val$me:Lcom/melesta/engine/EngineActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCompleted(Lcom/facebook/Response;)V
    .locals 4
    .parameter "response"

    .prologue
    .line 515
    const-string v2, "facebook"

    const-string v3, "Score updated"

    invoke-static {v2, v3}, Lcom/melesta/engine/Log;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 517
    :try_start_0
    invoke-virtual {p1}, Lcom/facebook/Response;->getError()Lcom/facebook/FacebookRequestError;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    .line 519
    .local v1, facebookError:Lcom/facebook/FacebookRequestError;
    if-eqz v1, :cond_0

    .line 539
    .end local v1           #facebookError:Lcom/facebook/FacebookRequestError;
    :cond_0
    :goto_0
    return-void

    .line 528
    :catch_0
    move-exception v0

    .line 529
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/melesta/engine/Error;->processException(Ljava/lang/Exception;)V

    .line 530
    iget-object v2, p0, Lcom/melesta/engine/FacebookOperations$7;->val$me:Lcom/melesta/engine/EngineActivity;

    new-instance v3, Lcom/melesta/engine/FacebookOperations$7$1;

    invoke-direct {v3, p0}, Lcom/melesta/engine/FacebookOperations$7$1;-><init>(Lcom/melesta/engine/FacebookOperations$7;)V

    invoke-virtual {v2, v3}, Lcom/melesta/engine/EngineActivity;->runOnGLThread(Ljava/lang/Runnable;)V

    goto :goto_0
.end method
